/*************
**
** Project:      Imaginable :: tonemap (GUI)
** File info:    $Id: notification_signaller.cpp 64 2011-11-29 04:14:37Z Kuzma.Shapran@gmail.com $
** Author:       Copyright (C) 2009 - 2011 Kuzma Shapran <Kuzma.Shapran@gmail.com>
** License:      GPLv3
**
**  This file is part of Imaginable.
**
**  Imaginable is free software: you can redistribute it and/or modify
**  it under the terms of the GNU General Public License as published by
**  the Free Software Foundation, either version 3 of the License, or
**  (at your option) any later version.
**
**  Imaginable is distributed in the hope that it will be useful,
**  but WITHOUT ANY WARRANTY; without even the implied warranty of
**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
**  GNU General Public License for more details.
**
**  You should have received a copy of the GNU General Public License
**  along with Imaginable.  If not, see <http://www.gnu.org/licenses/>.
**
*************/


#include "notification_signaller.hpp"


Notification_signaller::Notification_signaller(QObject *parent)
	: QObject(parent)
	, imaginable::Progress_notifier()
{
}

Notification_signaller::~Notification_signaller()
{
}

void Notification_signaller::update(double value) const
{
	const_cast<Notification_signaller*>(this)->emit_updated(value);
}

void Notification_signaller::emit_updated(double value)
{
	emit updated(value);
}
